package com.carcenter.personnel;

import com.carcenter.common.utils.JwtTemplate;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
//工具feign；
@EnableFeignClients(basePackages = "com.store.client")
@MapperScan("com.carcenter.personnel.mapper")
//3个包，工具feign,本模块包，公共模块包；
@ComponentScan({"com.store.client","com.carcenter.personnel","com.carcenter.common"})
public class PersonnelApp {
    public static void main(String[] args) {
        SpringApplication.run(PersonnelApp.class, args);
    }

}
